# #字符串输出
# a = 'hello'
# print(a)
#
# #类型输出
# b = True
# print(b)
#
# #混合字符串和变量的输出
# num = 88
# print(f'num = {num}')

# a = input('请输入你微信钱包余额：')
# print(f'余额为：{a}')
# print(type(a))

#方式一
# a = input('请输入a的值：')
# b = input('请输入b的值：')
# a = int(a)
# b = int(b)
# print(f'a + b = {a+b}')
#
# #方式二
# a = int(input("请输入a的值："))
# b = int(input("请输入a的值："))
# print(f'a + b = {a+b}')

# print(7 + 2)#加法
# print(6 / 3)#除法
# print(5 * 2)#乘法
# print(8 / 3)#除法
# print(13 % 2)#取模
# print(6 ** 2)#二次方（平方）
# print(9 // 2)#取整除法

# #整型
# a = 8
# b = 6
# print(a > b)
# print(a >= b)
# print(a == b)
#
# #字符串
# c = 'abcd'
# d = 'abcf'
# print(c < d)
# print(c <= d)
# print(c != d)

# print(0.1 + 0.2 == 0.3)


# a = 0.1 + 0.2
# b = 0.3
# print(-0.000001 < (a - b) < 0.000001)

# a = 8
# b = 10
# print(a < b and a > b)
# print(a < b or a > b)
# print(not a > b)

# a = 8
# b = 6
# c = 10
# print(a < b < c)
# print(a < b and b < c)

# a = b = 20
# print(a)
# print(b)

# a , b = 10 , 20
# print(a)
# print(b)
# a , b = b , a
# print(a)
# print(b)

# a = 1
# a += 3
# print(a)
#
# b = 3
# b -= 2
# print(b)

# c = 6
# c *= 2
# print(c)

d = 9
d /= 3
print(d)

e = 7
e %= 2
print(e)

